package cn.harry.modular.sys.exception.enums;

import cn.harry.common.api.IErrorCode;

/**
 * ClassName: KaptchaEnum Description: 验证码异常枚举
 *
 * @author honghh Date 2019/10/08 10:47 Copyright (C) www.tech-harry.cn
 */
public enum KaptchaEnum implements IErrorCode {

	/**
	 * 参数不可以为空
	 */
	UUID_NOT_NULL(1401, "uuid不能为空"), MSG_CODE_ERROR(1402, "验证码错误"),;

	private long code;

	private String msg;

	KaptchaEnum(long code, String msg) {
		this.code = code;
		this.msg = msg;
	}

	@Override
	public long getCode() {
		return code;
	}

	public void setCode(long code) {
		this.code = code;
	}

	@Override
	public String getMessage() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

}
